package com.healthy.suggestions.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthy.common.core.annotation.Excel;
import com.healthy.common.core.web.domain.BaseEntity;

/**
 * 评分标准对象 score_criteria_range
 * 
 * @author 束伟
 * @date 2024-03-29
 */
public class ScoreCriteriaRange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评分标准和范围ID */
    private Long id;

    /** 评分项ID */
    @Excel(name = "评分项ID")
    private Long scoreItemId;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private String dataType;

    /** 最小值 */
    @Excel(name = "最小值")
    private BigDecimal minValue;

    /** 最大值 */
    @Excel(name = "最大值")
    private BigDecimal maxValue;

    /** 评分描述 */
    @Excel(name = "评分描述")
    private String rangeText;

    /** 健康等级 */
    @Excel(name = "健康等级")
    private String healthLevel;

    /** 评分类别 */
    @Excel(name = "评分类别")
    private String scoreCategory;

    /** 评分标准描述 */
    @Excel(name = "评分标准描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScoreItemId(Long scoreItemId) 
    {
        this.scoreItemId = scoreItemId;
    }

    public Long getScoreItemId() 
    {
        return scoreItemId;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setMinValue(BigDecimal minValue) 
    {
        this.minValue = minValue;
    }

    public BigDecimal getMinValue() 
    {
        return minValue;
    }
    public void setMaxValue(BigDecimal maxValue) 
    {
        this.maxValue = maxValue;
    }

    public BigDecimal getMaxValue() 
    {
        return maxValue;
    }
    public void setRangeText(String rangeText) 
    {
        this.rangeText = rangeText;
    }

    public String getRangeText() 
    {
        return rangeText;
    }
    public void setHealthLevel(String healthLevel) 
    {
        this.healthLevel = healthLevel;
    }

    public String getHealthLevel() 
    {
        return healthLevel;
    }
    public void setScoreCategory(String scoreCategory) 
    {
        this.scoreCategory = scoreCategory;
    }

    public String getScoreCategory() 
    {
        return scoreCategory;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scoreItemId", getScoreItemId())
            .append("dataType", getDataType())
            .append("minValue", getMinValue())
            .append("maxValue", getMaxValue())
            .append("rangeText", getRangeText())
            .append("healthLevel", getHealthLevel())
            .append("scoreCategory", getScoreCategory())
            .append("description", getDescription())
            .toString();
    }
}
